﻿<div class="panel panel-default"> <!--ng-controller="DicDataAddCtrl"-->
    <div class="panel-heading font-bold">字典数据 - 添加</div>
    <div class="panel-body">
        <form name="form" class="bs-example form-horizontal form-validation">
            <div class="form-group">
                <label class="col-lg-2 control-label">字典系统</label>
                <div class="col-lg-10">
                    <select name="account" class="form-control" ng-model="data.system" required>
                        <option>option 1</option>
                        <option>option 2</option>
                        <option>option 3</option>
                        <option>option 4</option>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-2 control-label">上级节点</label>
                <div class="col-lg-10">
                    <select ui-jq="chosen" ng-model="data.parent"> <!--class="w-md"-->
                        <optgroup label="Alaskan/Hawaiian Time Zone">
                            <option value="AK">Alaska</option>
                            <option value="HI">Hawaii</option>
                        </optgroup>
                        <optgroup label="Pacific Time Zone">
                            <option value="CA">California</option>
                            <option value="NV">Nevada</option>
                            <option value="OR">Oregon</option>
                            <option value="WA">Washington</option>
                        </optgroup>
                        <optgroup label="Mountain Time Zone">
                            <option value="AZ">Arizona</option>
                            <option value="CO">Colorado</option>
                            <option value="ID">Idaho</option>
                            <option value="MT">Montana</option>
                            <option value="NE">Nebraska</option>
                            <option value="NM">New Mexico</option>
                            <option value="ND">North Dakota</option>
                            <option value="UT">Utah</option>
                            <option value="WY">Wyoming</option>
                        </optgroup>
                        <optgroup label="Central Time Zone">
                            <option value="AL">Alabama</option>
                            <option value="AR">Arkansas</option>
                            <option value="IL">Illinois</option>
                            <option value="IA">Iowa</option>
                            <option value="KS">Kansas</option>
                            <option value="KY">Kentucky</option>
                            <option value="LA">Louisiana</option>
                            <option value="MN">Minnesota</option>
                            <option value="MS">Mississippi</option>
                            <option value="MO">Missouri</option>
                            <option value="OK">Oklahoma</option>
                            <option value="SD">South Dakota</option>
                            <option value="TX">Texas</option>
                            <option value="TN">Tennessee</option>
                            <option value="WI">Wisconsin</option>
                        </optgroup>
                        <optgroup label="Eastern Time Zone">
                            <option value="CT">Connecticut</option>
                            <option value="DE">Delaware</option>
                            <option value="FL">Florida</option>
                            <option value="GA">Georgia</option>
                            <option value="IN">Indiana</option>
                            <option value="ME">Maine</option>
                            <option value="MD">Maryland</option>
                            <option value="MA">Massachusetts</option>
                            <option value="MI">Michigan</option>
                            <option value="NH">New Hampshire</option>
                            <option value="NJ">New Jersey</option>
                            <option value="NY">New York</option>
                            <option value="NC">North Carolina</option>
                            <option value="OH">Ohio</option>
                            <option value="PA">Pennsylvania</option>
                            <option value="RI">Rhode Island</option>
                            <option value="SC">South Carolina</option>
                            <option value="VT">Vermont</option>
                            <option value="VA">Virginia</option>
                            <option value="WV">West Virginia</option>
                        </optgroup>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-2 control-label">代码</label>
                <div class="col-lg-10">
                    <input type="text" class="form-control" placeholder="值代码" ng-model="data.code" required />
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-2 control-label">值</label>
                <div class="col-lg-10">
                    <input type="text" class="form-control" placeholder="值" ng-model="data.value" required />
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-2 control-label">英文名</label>
                <div class="col-lg-10">
                    <input type="text" class="form-control" placeholder="值的英文名" ng-model="data.ename" />
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-2 control-label">缩写</label>
                <div class="col-lg-10">
                    <input type="text" class="form-control" placeholder="值的缩写" ng-model="data.abbreviation" />
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-2 control-label">输入码</label>
                <div class="col-lg-10">
                    <input type="text" class="form-control" placeholder="输入码" ng-model="data.inputCode" />
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-2 control-label">描述</label>
                <div class="col-lg-10">
                    <textarea class="form-control" rows="6" placeholder="字典数据描述" ng-model="system.describe"></textarea>
                </div>
            </div>
            <div class="line line-dashed b-b line-lg"></div>
            <div class="form-group">
                <div class="col-lg-4 col-lg-offset-2">
                    <button type="submit" class="btn btn-primary" ng-click="ok()" ng-disabled="form.$invalid">保存</button>
                    <button type="submit" class="btn btn-default" ng-click="cancel()">取消</button>
                </div>
            </div>
            <!--<div class="form-group">
                <label class="col-lg-2 control-label">Email</label>
                <div class="col-lg-10">
                    <input type="email" class="form-control" placeholder="Email">
                    <span class="help-block m-b-none">Example block-level help text here.</span>
                </div>
            </div>-->
            <!--<div class="form-group">
                <div class="col-lg-offset-2 col-lg-10">
                    <div class="checkbox">
                        <label class="i-checks">
                            <input type="checkbox" checked><i></i> Remember me
                        </label>
                    </div>
                </div>
            </div>-->
            <!--<div class="form-group">
                <div class="col-lg-offset-2 col-lg-10">
                    <button type="submit" class="btn btn-sm btn-info">Sign in</button>
                </div>
            </div>-->
        </form>
    </div>
</div>